/**
 * Copyright &copy; 2012-2014 <a href="https://github.cn.apestar">JeeSite</a> All rights reserved.
 */
package cn.apestar.modules.sys.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import org.hibernate.validator.constraints.Length;

import cn.apestar.common.persistence.DataEntity;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 机构表Entity
 * @author LVH
 * @version 2016-02-21
 */
public class Institution extends DataEntity<Institution> {

    private static final long serialVersionUID = 1L;

    private String institutionName; // 机构名称

    private Long platformCd; // 平台编号

    private Date expires; // 失效时间

    private String phone; // 联系电话

    private String address; // 地址

    private String province; // 省

    private String city; // 市

    private String county; // 县/区

    private String logo; // logo

    // private String schoolId; // school_id

    private String shengName;

    private String cityName;

    private String xianName;

    // private String schoolName;

    private String userName;

    private String userPhone;

    private String authenticates;

    private String authentication;

    // 余额
    private String balance;

    // 押金
    private String deposit;

    public String getBalance() {
        return balance;
    }

    public void setBalance(String balance) {
        this.balance = balance;
    }

    public String getDeposit() {
        return deposit;
    }

    public void setDeposit(String deposit) {
        this.deposit = deposit;
    }

    public String getAuthentication() {
        return authentication;
    }

    public void setAuthentication(String authentication) {
        this.authentication = authentication;
    }

    private String area;

    private String hot;

    private String vipType;

    private String lat;

    private String lng;

    private String onBusinessWeekday;

    private List<String> onBusinessWeekdayList = new ArrayList();

    public List<String> getOnBusinessWeekdayList() {
        return onBusinessWeekdayList;
    }

    public void setOnBusinessWeekdayList(List<String> onBusinessWeekdayList) {
        this.onBusinessWeekdayList = onBusinessWeekdayList;
    }

    private String onBusinessStartTime;

    private String onBusinessEndTime;

    public String getOnBusinessWeekday() {
        return onBusinessWeekday;
    }

    public void setOnBusinessWeekday(String onBusinessWeekday) {
        this.onBusinessWeekday = onBusinessWeekday;
    }

    public String getOnBusinessStartTime() {
        return onBusinessStartTime;
    }

    public void setOnBusinessStartTime(String onBusinessStartTime) {
        this.onBusinessStartTime = onBusinessStartTime;
    }

    public String getOnBusinessEndTime() {
        return onBusinessEndTime;
    }

    public void setOnBusinessEndTime(String onBusinessEndTime) {
        this.onBusinessEndTime = onBusinessEndTime;
    }

    private String state;

    private String wireNum;

    private String batNum;

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getWireNum() {
        return wireNum;
    }

    public void setWireNum(String wireNum) {
        this.wireNum = wireNum;
    }

    public String getBatNum() {
        return batNum;
    }

    public void setBatNum(String batNum) {
        this.batNum = batNum;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getLng() {
        return lng;
    }

    public void setLng(String lng) {
        this.lng = lng;
    }

    public String getHot() {
        return hot;
    }

    public void setHot(String hot) {
        this.hot = hot;
    }

    public String getVipType() {
        return vipType;
    }

    public void setVipType(String vipType) {
        this.vipType = vipType;
    }

    private String institutionType; // 商家类型

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getInstitutionType() {
        return institutionType;
    }

    public void setInstitutionType(String institutionType) {
        this.institutionType = institutionType;
    }

    /**
     * 领域
     */
    private String domain;

    private String certificate1;

    private String certificate2;

    private String certificate3;

    private String certificate4;

    private String certificate5;

    private String certificate6;

    private String environment1;

    private String environment2;

    private String environment3;

    private String environment4;

    private String environment5;

    private String environment6;

    private String equipment1;

    private String equipment2;

    private String equipment3;

    private String equipment4;

    private String equipment5;

    private String equipment6;

    public String getDomain() {

        return domain;
    }

    public void setDomain(String domain) {

        this.domain = domain;
    }

    public String getCertificate1() {

        return certificate1;
    }

    public void setCertificate1(String certificate1) {

        this.certificate1 = certificate1;
    }

    public String getCertificate2() {

        return certificate2;
    }

    public void setCertificate2(String certificate2) {

        this.certificate2 = certificate2;
    }

    public String getCertificate3() {

        return certificate3;
    }

    public void setCertificate3(String certificate3) {

        this.certificate3 = certificate3;
    }

    public String getCertificate4() {

        return certificate4;
    }

    public void setCertificate4(String certificate4) {

        this.certificate4 = certificate4;
    }

    public String getCertificate5() {

        return certificate5;
    }

    public void setCertificate5(String certificate5) {

        this.certificate5 = certificate5;
    }

    public String getCertificate6() {

        return certificate6;
    }

    public void setCertificate6(String certificate6) {

        this.certificate6 = certificate6;
    }

    public String getEnvironment1() {

        return environment1;
    }

    public void setEnvironment1(String environment1) {

        this.environment1 = environment1;
    }

    public String getEnvironment2() {

        return environment2;
    }

    public void setEnvironment2(String environment2) {

        this.environment2 = environment2;
    }

    public String getEnvironment3() {

        return environment3;
    }

    public void setEnvironment3(String environment3) {

        this.environment3 = environment3;
    }

    public String getEnvironment4() {

        return environment4;
    }

    public void setEnvironment4(String environment4) {

        this.environment4 = environment4;
    }

    public String getEnvironment5() {

        return environment5;
    }

    public void setEnvironment5(String environment5) {

        this.environment5 = environment5;
    }

    public String getEnvironment6() {

        return environment6;
    }

    public void setEnvironment6(String environment6) {

        this.environment6 = environment6;
    }

    public String getEquipment1() {

        return equipment1;
    }

    public void setEquipment1(String equipment1) {

        this.equipment1 = equipment1;
    }

    public String getEquipment2() {

        return equipment2;
    }

    public void setEquipment2(String equipment2) {

        this.equipment2 = equipment2;
    }

    public String getEquipment3() {

        return equipment3;
    }

    public void setEquipment3(String equipment3) {

        this.equipment3 = equipment3;
    }

    public String getEquipment4() {

        return equipment4;
    }

    public void setEquipment4(String equipment4) {

        this.equipment4 = equipment4;
    }

    public String getEquipment5() {

        return equipment5;
    }

    public void setEquipment5(String equipment5) {

        this.equipment5 = equipment5;
    }

    public String getEquipment6() {

        return equipment6;
    }

    public void setEquipment6(String equipment6) {

        this.equipment6 = equipment6;
    }

    public String getAuthenticates() {

        return authenticates;
    }

    public void setAuthenticates(String authenticates) {

        this.authenticates = authenticates;
    }

    public String getUserName() {

        return userName;
    }

    public void setUserName(String userName) {

        this.userName = userName;
    }

    public String getUserPhone() {

        return userPhone;
    }

    public void setUserPhone(String userPhone) {

        this.userPhone = userPhone;
    }

    public String getShengName() {

        return shengName;
    }

    public void setShengName(String shengName) {

        this.shengName = shengName;
    }

    public String getCityName() {

        return cityName;
    }

    public void setCityName(String cityName) {

        this.cityName = cityName;
    }

    public String getXianName() {

        return xianName;
    }

    public void setXianName(String xianName) {

        this.xianName = xianName;
    }

    // public String getSchoolName() {
    //
    // return schoolName;
    // }
    //
    // public void setSchoolName(String schoolName) {
    //
    // this.schoolName = schoolName;
    // }

    public Institution() {
        super();
    }

    public Institution(String id) {
        super(id);
    }

    @Length(min = 0, max = 255, message = "机构名称长度必须介于 0 和 255 之间")
    public String getInstitutionName() {

        return institutionName;
    }

    public void setInstitutionName(String institutionName) {

        this.institutionName = institutionName;
    }

    public Long getPlatformCd() {

        return platformCd;
    }

    public void setPlatformCd(Long platformCd) {

        this.platformCd = platformCd;
    }

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public Date getExpires() {

        return expires;
    }

    public void setExpires(Date expires) {

        this.expires = expires;
    }

    @Length(min = 0, max = 30, message = "联系电话长度必须介于 0 和 30 之间")
    public String getPhone() {

        return phone;
    }

    public void setPhone(String phone) {

        this.phone = phone;
    }

    @Length(min = 0, max = 255, message = "地址长度必须介于 0 和 255 之间")
    public String getAddress() {

        return address;
    }

    public void setAddress(String address) {

        this.address = address;
    }

    @Length(min = 0, max = 64, message = "省长度必须介于 0 和 64 之间")
    public String getProvince() {

        return province;
    }

    public void setProvince(String province) {

        this.province = province;
    }

    @Length(min = 0, max = 64, message = "市长度必须介于 0 和 64 之间")
    public String getCity() {

        return city;
    }

    public void setCity(String city) {

        this.city = city;
    }

    @Length(min = 0, max = 64, message = "县/区长度必须介于 0 和 64 之间")
    public String getCounty() {

        return county;
    }

    public void setCounty(String county) {

        this.county = county;
    }

    @Length(min = 0, max = 255, message = "logo长度必须介于 0 和 32 之间")
    public String getLogo() {

        return logo;
    }

    public void setLogo(String logo) {

        this.logo = logo;
    }

    // @Length(min = 0, max = 255, message = "school_id长度必须介于 0 和 255 之间")
    // public String getSchoolId() {
    //
    // return schoolId;
    // }
    //
    // public void setSchoolId(String schoolId) {
    //
    // this.schoolId = schoolId;
    // }

}